package com.kgcx.organization.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kgcx.dbutils.utils.CommonMapper;
import com.kgcx.organization.domain.StationParking;

public interface StationParkingMapper extends CommonMapper<StationParking> {
	
	public void insertStationParking(StationParking stationParking);
	
    public List<StationParking> getStationParking(@Param("stationParking") StationParking stationParking);
	
	public void updateStationParking(@Param("stationParking")StationParking stationParking);
	
	public void deleteStationParkingByKid(@Param("kid")Long kid);

    List<StationParking> getUnusedParking(@Param("stationParking") StationParking stationParking);

    public StationParking getParkingByDriverId(@Param("driverId") Long driverId);

    void updateParkState(@Param("stationParking") StationParking stationParking);
}